#ifndef TCHAR_H_INCLUDED
#define TCHAR_H_INCLUDED

#ifdef _UNICODE
#define TCHAR wchar_t
#define LPTSTR TCHAR*
#define _sntprintf snprintf
#define _vstprintf vsprintf
#define tstring std::wstring
#define tsprintf ::wsprintf
#define _T(x) L(x)
#else
#define TCHAR char
#define LPTSTR char*
#define _sntprintf snprintf
#define _vstprintf vsprintf
#define tstring std::string
#define tsprintf ::sprintf
#define _T(x) x
#endif

#endif // TCHAR_H_INCLUDED
